package min.chapter.threet;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanNameAcquisition
{
    public static void main(String[] args)
    {
        ApplicationContext context = new FileSystemXmlApplicationContext("src/BeanName.xml");
        
        BeanName bean = (BeanName) context.getBean("lifeBean");
        bean.lifeMethod();
    }
}
